package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class Demo08 {
    public static void main(String[] args) {
        try(OutputStream outputStream = new FileOutputStream("D:/test.txt",true)) {
            String s = "吆西浇给";
            outputStream.write(s.getBytes());
        }catch (IOException e) {
            e.printStackTrace();
        }
    }
}
